package com.indexingsystem.boss.entity;

import java.io.Serializable;

/**
 * dh_center_contract_order_price
 * @author 
 */
public class CenterContractOrderPrice implements Serializable {
    private String id;

    private String centerId;

    private String centerName;

    private String resCategoryId;

    private String resCategoryName;

    private String preResCategoryPrice;

    private String afterResCategoryPrice;

    private String proportion;

    private String backPrice;

    private String resTable;

    private String discount;

    private String orderId;

    private String orderCreate;

    private String institutionId;

    private String institutionName;

    private String contractId;

    private String contractName;

    private String contractType;

    private String contractCreate;

    private String contractPrice;

    private String preInvoicesBackAmount;

    private String afterInvoicesBackAmount;

    private String preInvoicesPrice;

    private String afterInvoicesPrice;

    private String totalDatetime;

    private String runTime;

    private String agentCommisson;

    private String agentCommissonPrice;

    private String distributable;
    
	private String huibenPrice;
    private String donghuaPrice;
    private String ysdwPrice ;
    private String baokanPrice;
    
    
    private String ehuibenPrice;
    private String edonghuaPrice;
    private String eysdwPrice ;
    private String ebaokanPrice;
    private  String  rowPrice;
    private  String columPrice;
    
    public String getEhuibenPrice() {
		return ehuibenPrice;
	}
	public void setEhuibenPrice(String ehuibenPrice) {
		this.ehuibenPrice = ehuibenPrice;
	}
	public String getEdonghuaPrice() {
		return edonghuaPrice;
	}
	public void setEdonghuaPrice(String edonghuaPrice) {
		this.edonghuaPrice = edonghuaPrice;
	}
	public String getEysdwPrice() {
		return eysdwPrice;
	}
	public void setEysdwPrice(String eysdwPrice) {
		this.eysdwPrice = eysdwPrice;
	}
	public String getEbaokanPrice() {
		return ebaokanPrice;
	}
	public void setEbaokanPrice(String ebaokanPrice) {
		this.ebaokanPrice = ebaokanPrice;
	}

	public String getRowPrice() {
		return rowPrice;
	}
	public void setRowPrice(String rowPrice) {
		this.rowPrice = rowPrice;
	}
	public String getColumPrice() {
		return columPrice;
	}
	public void setColumPrice(String columPrice) {
		this.columPrice = columPrice;
	}
	public String getHuibenPrice() {
		return huibenPrice;
	}
	public void setHuibenPrice(String huibenPrice) {
		this.huibenPrice = huibenPrice;
	}
	public String getDonghuaPrice() {
		return donghuaPrice;
	}
	public void setDonghuaPrice(String donghuaPrice) {
		this.donghuaPrice = donghuaPrice;
	}
	public String getYsdwPrice() {
		return ysdwPrice;
	}
	public void setYsdwPrice(String ysdwPrice) {
		this.ysdwPrice = ysdwPrice;
	}
	public String getBaokanPrice() {
		return baokanPrice;
	}
	public void setBaokanPrice(String baokanPrice) {
		this.baokanPrice = baokanPrice;
	}
    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCenterId() {
        return centerId;
    }

    public void setCenterId(String centerId) {
        this.centerId = centerId;
    }

    public String getCenterName() {
        return centerName;
    }

    public void setCenterName(String centerName) {
        this.centerName = centerName;
    }

    public String getResCategoryId() {
        return resCategoryId;
    }

    public void setResCategoryId(String resCategoryId) {
        this.resCategoryId = resCategoryId;
    }

    public String getResCategoryName() {
        return resCategoryName;
    }

    public void setResCategoryName(String resCategoryName) {
        this.resCategoryName = resCategoryName;
    }

    public String getPreResCategoryPrice() {
        return preResCategoryPrice;
    }

    public void setPreResCategoryPrice(String preResCategoryPrice) {
        this.preResCategoryPrice = preResCategoryPrice;
    }

    public String getAfterResCategoryPrice() {
        return afterResCategoryPrice;
    }

    public void setAfterResCategoryPrice(String afterResCategoryPrice) {
        this.afterResCategoryPrice = afterResCategoryPrice;
    }

    public String getProportion() {
        return proportion;
    }

    public void setProportion(String proportion) {
        this.proportion = proportion;
    }

    public String getBackPrice() {
        return backPrice;
    }

    public void setBackPrice(String backPrice) {
        this.backPrice = backPrice;
    }

    public String getResTable() {
        return resTable;
    }

    public void setResTable(String resTable) {
        this.resTable = resTable;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderCreate() {
        return orderCreate;
    }

    public void setOrderCreate(String orderCreate) {
        this.orderCreate = orderCreate;
    }

    public String getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(String institutionId) {
        this.institutionId = institutionId;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getContractCreate() {
        return contractCreate;
    }

    public void setContractCreate(String contractCreate) {
        this.contractCreate = contractCreate;
    }

    public String getContractPrice() {
        return contractPrice;
    }

    public void setContractPrice(String contractPrice) {
        this.contractPrice = contractPrice;
    }

    public String getPreInvoicesBackAmount() {
        return preInvoicesBackAmount;
    }

    public void setPreInvoicesBackAmount(String preInvoicesBackAmount) {
        this.preInvoicesBackAmount = preInvoicesBackAmount;
    }

    public String getAfterInvoicesBackAmount() {
        return afterInvoicesBackAmount;
    }

    public void setAfterInvoicesBackAmount(String afterInvoicesBackAmount) {
        this.afterInvoicesBackAmount = afterInvoicesBackAmount;
    }

    public String getPreInvoicesPrice() {
        return preInvoicesPrice;
    }

    public void setPreInvoicesPrice(String preInvoicesPrice) {
        this.preInvoicesPrice = preInvoicesPrice;
    }

    public String getAfterInvoicesPrice() {
        return afterInvoicesPrice;
    }

    public void setAfterInvoicesPrice(String afterInvoicesPrice) {
        this.afterInvoicesPrice = afterInvoicesPrice;
    }

    public String getTotalDatetime() {
        return totalDatetime;
    }

    public void setTotalDatetime(String totalDatetime) {
        this.totalDatetime = totalDatetime;
    }

    public String getRunTime() {
        return runTime;
    }

    public void setRunTime(String runTime) {
        this.runTime = runTime;
    }

    public String getAgentCommisson() {
        return agentCommisson;
    }

    public void setAgentCommisson(String agentCommisson) {
        this.agentCommisson = agentCommisson;
    }

    public String getAgentCommissonPrice() {
        return agentCommissonPrice;
    }

    public void setAgentCommissonPrice(String agentCommissonPrice) {
        this.agentCommissonPrice = agentCommissonPrice;
    }

    public String getDistributable() {
        return distributable;
    }

    public void setDistributable(String distributable) {
        this.distributable = distributable;
    }

    public CenterContractOrderPrice() {
		super();
	}
	public CenterContractOrderPrice(String id, String centerId, String centerName, String resCategoryId, String resCategoryName,
			String preResCategoryPrice, String afterResCategoryPrice, String proportion, String backPrice, String resTable, String discount,
			String orderId, String orderCreate, String institutionId, String institutionName, String contractId, String contractName,
			String contractType, String contractCreate, String contractPrice, String preInvoicesBackAmount, String afterInvoicesBackAmount,
			String preInvoicesPrice, String afterInvoicesPrice, String totalDatetime, String runTime, String agentCommisson,
			String agentCommissonPrice, String distributable) {
		super();
		this.id = id;
		this.centerId = centerId;
		this.centerName = centerName;
		this.resCategoryId = resCategoryId;
		this.resCategoryName = resCategoryName;
		this.preResCategoryPrice = preResCategoryPrice;
		this.afterResCategoryPrice = afterResCategoryPrice;
		this.proportion = proportion;
		this.backPrice = backPrice;
		this.resTable = resTable;
		this.discount = discount;
		this.orderId = orderId;
		this.orderCreate = orderCreate;
		this.institutionId = institutionId;
		this.institutionName = institutionName;
		this.contractId = contractId;
		this.contractName = contractName;
		this.contractType = contractType;
		this.contractCreate = contractCreate;
		this.contractPrice = contractPrice;
		this.preInvoicesBackAmount = preInvoicesBackAmount;
		this.afterInvoicesBackAmount = afterInvoicesBackAmount;
		this.preInvoicesPrice = preInvoicesPrice;
		this.afterInvoicesPrice = afterInvoicesPrice;
		this.totalDatetime = totalDatetime;
		this.runTime = runTime;
		this.agentCommisson = agentCommisson;
		this.agentCommissonPrice = agentCommissonPrice;
		this.distributable = distributable;
	}
	@Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CenterContractOrderPrice other = (CenterContractOrderPrice) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCenterId() == null ? other.getCenterId() == null : this.getCenterId().equals(other.getCenterId()))
            && (this.getCenterName() == null ? other.getCenterName() == null : this.getCenterName().equals(other.getCenterName()))
            && (this.getResCategoryId() == null ? other.getResCategoryId() == null : this.getResCategoryId().equals(other.getResCategoryId()))
            && (this.getResCategoryName() == null ? other.getResCategoryName() == null : this.getResCategoryName().equals(other.getResCategoryName()))
            && (this.getPreResCategoryPrice() == null ? other.getPreResCategoryPrice() == null : this.getPreResCategoryPrice().equals(other.getPreResCategoryPrice()))
            && (this.getAfterResCategoryPrice() == null ? other.getAfterResCategoryPrice() == null : this.getAfterResCategoryPrice().equals(other.getAfterResCategoryPrice()))
            && (this.getProportion() == null ? other.getProportion() == null : this.getProportion().equals(other.getProportion()))
            && (this.getBackPrice() == null ? other.getBackPrice() == null : this.getBackPrice().equals(other.getBackPrice()))
            && (this.getResTable() == null ? other.getResTable() == null : this.getResTable().equals(other.getResTable()))
            && (this.getDiscount() == null ? other.getDiscount() == null : this.getDiscount().equals(other.getDiscount()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getOrderCreate() == null ? other.getOrderCreate() == null : this.getOrderCreate().equals(other.getOrderCreate()))
            && (this.getInstitutionId() == null ? other.getInstitutionId() == null : this.getInstitutionId().equals(other.getInstitutionId()))
            && (this.getInstitutionName() == null ? other.getInstitutionName() == null : this.getInstitutionName().equals(other.getInstitutionName()))
            && (this.getContractId() == null ? other.getContractId() == null : this.getContractId().equals(other.getContractId()))
            && (this.getContractName() == null ? other.getContractName() == null : this.getContractName().equals(other.getContractName()))
            && (this.getContractType() == null ? other.getContractType() == null : this.getContractType().equals(other.getContractType()))
            && (this.getContractCreate() == null ? other.getContractCreate() == null : this.getContractCreate().equals(other.getContractCreate()))
            && (this.getContractPrice() == null ? other.getContractPrice() == null : this.getContractPrice().equals(other.getContractPrice()))
            && (this.getPreInvoicesBackAmount() == null ? other.getPreInvoicesBackAmount() == null : this.getPreInvoicesBackAmount().equals(other.getPreInvoicesBackAmount()))
            && (this.getAfterInvoicesBackAmount() == null ? other.getAfterInvoicesBackAmount() == null : this.getAfterInvoicesBackAmount().equals(other.getAfterInvoicesBackAmount()))
            && (this.getPreInvoicesPrice() == null ? other.getPreInvoicesPrice() == null : this.getPreInvoicesPrice().equals(other.getPreInvoicesPrice()))
            && (this.getAfterInvoicesPrice() == null ? other.getAfterInvoicesPrice() == null : this.getAfterInvoicesPrice().equals(other.getAfterInvoicesPrice()))
            && (this.getTotalDatetime() == null ? other.getTotalDatetime() == null : this.getTotalDatetime().equals(other.getTotalDatetime()))
            && (this.getRunTime() == null ? other.getRunTime() == null : this.getRunTime().equals(other.getRunTime()))
            && (this.getAgentCommisson() == null ? other.getAgentCommisson() == null : this.getAgentCommisson().equals(other.getAgentCommisson()))
            && (this.getAgentCommissonPrice() == null ? other.getAgentCommissonPrice() == null : this.getAgentCommissonPrice().equals(other.getAgentCommissonPrice()))
            && (this.getDistributable() == null ? other.getDistributable() == null : this.getDistributable().equals(other.getDistributable()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCenterId() == null) ? 0 : getCenterId().hashCode());
        result = prime * result + ((getCenterName() == null) ? 0 : getCenterName().hashCode());
        result = prime * result + ((getResCategoryId() == null) ? 0 : getResCategoryId().hashCode());
        result = prime * result + ((getResCategoryName() == null) ? 0 : getResCategoryName().hashCode());
        result = prime * result + ((getPreResCategoryPrice() == null) ? 0 : getPreResCategoryPrice().hashCode());
        result = prime * result + ((getAfterResCategoryPrice() == null) ? 0 : getAfterResCategoryPrice().hashCode());
        result = prime * result + ((getProportion() == null) ? 0 : getProportion().hashCode());
        result = prime * result + ((getBackPrice() == null) ? 0 : getBackPrice().hashCode());
        result = prime * result + ((getResTable() == null) ? 0 : getResTable().hashCode());
        result = prime * result + ((getDiscount() == null) ? 0 : getDiscount().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getOrderCreate() == null) ? 0 : getOrderCreate().hashCode());
        result = prime * result + ((getInstitutionId() == null) ? 0 : getInstitutionId().hashCode());
        result = prime * result + ((getInstitutionName() == null) ? 0 : getInstitutionName().hashCode());
        result = prime * result + ((getContractId() == null) ? 0 : getContractId().hashCode());
        result = prime * result + ((getContractName() == null) ? 0 : getContractName().hashCode());
        result = prime * result + ((getContractType() == null) ? 0 : getContractType().hashCode());
        result = prime * result + ((getContractCreate() == null) ? 0 : getContractCreate().hashCode());
        result = prime * result + ((getContractPrice() == null) ? 0 : getContractPrice().hashCode());
        result = prime * result + ((getPreInvoicesBackAmount() == null) ? 0 : getPreInvoicesBackAmount().hashCode());
        result = prime * result + ((getAfterInvoicesBackAmount() == null) ? 0 : getAfterInvoicesBackAmount().hashCode());
        result = prime * result + ((getPreInvoicesPrice() == null) ? 0 : getPreInvoicesPrice().hashCode());
        result = prime * result + ((getAfterInvoicesPrice() == null) ? 0 : getAfterInvoicesPrice().hashCode());
        result = prime * result + ((getTotalDatetime() == null) ? 0 : getTotalDatetime().hashCode());
        result = prime * result + ((getRunTime() == null) ? 0 : getRunTime().hashCode());
        result = prime * result + ((getAgentCommisson() == null) ? 0 : getAgentCommisson().hashCode());
        result = prime * result + ((getAgentCommissonPrice() == null) ? 0 : getAgentCommissonPrice().hashCode());
        result = prime * result + ((getDistributable() == null) ? 0 : getDistributable().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", centerId=").append(centerId);
        sb.append(", centerName=").append(centerName);
        sb.append(", resCategoryId=").append(resCategoryId);
        sb.append(", resCategoryName=").append(resCategoryName);
        sb.append(", preResCategoryPrice=").append(preResCategoryPrice);
        sb.append(", afterResCategoryPrice=").append(afterResCategoryPrice);
        sb.append(", proportion=").append(proportion);
        sb.append(", backPrice=").append(backPrice);
        sb.append(", resTable=").append(resTable);
        sb.append(", discount=").append(discount);
        sb.append(", orderId=").append(orderId);
        sb.append(", orderCreate=").append(orderCreate);
        sb.append(", institutionId=").append(institutionId);
        sb.append(", institutionName=").append(institutionName);
        sb.append(", contractId=").append(contractId);
        sb.append(", contractName=").append(contractName);
        sb.append(", contractType=").append(contractType);
        sb.append(", contractCreate=").append(contractCreate);
        sb.append(", contractPrice=").append(contractPrice);
        sb.append(", preInvoicesBackAmount=").append(preInvoicesBackAmount);
        sb.append(", afterInvoicesBackAmount=").append(afterInvoicesBackAmount);
        sb.append(", preInvoicesPrice=").append(preInvoicesPrice);
        sb.append(", afterInvoicesPrice=").append(afterInvoicesPrice);
        sb.append(", totalDatetime=").append(totalDatetime);
        sb.append(", runTime=").append(runTime);
        sb.append(", agentCommisson=").append(agentCommisson);
        sb.append(", agentCommissonPrice=").append(agentCommissonPrice);
        sb.append(", distributable=").append(distributable);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
	public CenterContractOrderPrice(String id,String centerName, String resTable, String institutionName, String contractName, String contractPrice,
			String preInvoicesBackAmount, String afterInvoicesBackAmount, String preInvoicesPrice, String afterInvoicesPrice, String huibenPrice,
			String donghuaPrice, String ysdwPrice, String baokanPrice, String ehuibenPrice, String edonghuaPrice, String eysdwPrice,
			String ebaokanPrice) {
		super();
		this.id = id;
		this.centerName = centerName;
		this.resTable = resTable;
		this.institutionName = institutionName;
		this.contractName = contractName;
		this.contractPrice = contractPrice;
		this.preInvoicesBackAmount = preInvoicesBackAmount;
		this.afterInvoicesBackAmount = afterInvoicesBackAmount;
		this.preInvoicesPrice = preInvoicesPrice;
		this.afterInvoicesPrice = afterInvoicesPrice;
		this.huibenPrice = huibenPrice;
		this.donghuaPrice = donghuaPrice;
		this.ysdwPrice = ysdwPrice;
		this.baokanPrice = baokanPrice;
		this.ehuibenPrice = ehuibenPrice;
		this.edonghuaPrice = edonghuaPrice;
		this.eysdwPrice = eysdwPrice;
		this.ebaokanPrice = ebaokanPrice;
	}
	public CenterContractOrderPrice(String resCategoryName, String afterResCategoryPrice, String contractName, String centerName) {
		super();
		this.resCategoryName = resCategoryName;
		this.afterResCategoryPrice = afterResCategoryPrice;
		this.contractName = contractName;
		this.centerName = centerName;
	}
	
	public CenterContractOrderPrice(String centerName,String contractId,String resCategoryName,String  resCategoryId, String preResCategoryPrice, String afterResCategoryPrice,
			String institutionName, String contractName) {
		super();
		this.contractId = contractId;
		this.centerName = centerName;
		this.resCategoryId = resCategoryId;
		this.resCategoryName = resCategoryName;
		this.preResCategoryPrice = preResCategoryPrice;
		this.afterResCategoryPrice = afterResCategoryPrice;
		this.institutionName = institutionName;
		this.contractName = contractName;
	}
	public CenterContractOrderPrice(String afterResCategoryPrice, String centerName) {
		super();
		
		this.afterResCategoryPrice = afterResCategoryPrice;
		this.centerName = centerName;
	}
	
	

	
}